//
//  SecondLevelView.h
//  WangliBank
//
//  Created by Sidney on 14-4-25.
//  Copyright (c) 2014年 iSoftstone infomation Technology (Group) Co.,Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "MBProgressHUD.h"
#import "ConfigData.h"
#import "TipLabel.h"

@interface SecondLevelView : UIView

@property(nonatomic,assign) CGRect childFrame;
@property(nonatomic,strong) MBProgressHUD * loadingHub;

- (void)showWithLabel:(NSString *)txt;
- (void)dismissHUD;

- (void)showAlertView:(NSString *)title message:(NSString *)msg;
- (void)showToastWithMessage:(NSString *)message showTime:(float)interval;

//清空UI所有UI以及Data
- (void)removeAllObject;
- (void)getServerData;
- (void)analyzeReceivedData:(id)data;


- (UIButton *)createButtonWithFrame:(CGRect)frame title:(NSString *)title target:(SEL)tar;
- (UILabel *)createLableWithFrame:(CGRect)frame text:(NSString *)txt fontSize:(int)size;
- (UIImageView *)createImageViewWithFrame:(CGRect)frame image:(UIImage *)image;
- (UITextField *)createTextFieldWithFrame:(CGRect)frame text:(NSString *)txt fontSize:(int)size;

@end
